package com.shop.entity.users;

import org.springframework.context.event.SmartApplicationListener;

public class User {
	private int uid; //用户ID
	private String username;
	private String password;
	private String name; //真实姓名
	private int sex;
	private String email; //用户邮箱
	private String phone; //用户电话
	private String addr; //用户地址
   //private int state;  //用户状态:	0未激活  1已经激活
   //private String code; //激活码
	
	
	public int getUid() {
		return uid;
	}
	public int getSex() {
		return sex;
	}
	public void setSex(int sex) {
		this.sex = sex;
	}
	public void setUid(int uid) {
		this.uid = uid;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getAddr() {
		return addr;
	}
	public void setAddr(String addr) {
		this.addr = addr;
	}

	
	
}
